@import '~choerodon-ui/lib/style/themes/default';

@success: #00bfa5;
@running: #4d90fe;
@pending: #ffb100;
@failed: #f77a70;
@canceled: #d8d8d8;
@skipped: #d8d8d8;
@stop: #ff7043;
@created: rgba(216, 216, 216, 0.12);
@not_audit: #f1b42d;

.deployment-content-sider-list {
  &-column-notfirst {
    margin-top: 15px;
  }
  &-column {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    .c7n-btn {
      .icon {
        margin-top: -5px !important;
      }
    }
    &-history {
      height: 22px;
      font-size: 14px;
      font-family: PingFangSC-Medium, PingFang SC;
      font-weight: 500;
      color: #0f1358;
      line-height: 22px;
    }
    &-number {
    }
    &-stage {
      margin: 0 auto 0 0;

      &-item {
        width: 0.08rem;
        height: 0.08rem;
        display: inline-block;
        border-radius: 50%;
        background: @canceled;

        &-success {
          background: @success;
        }

        &-failed {
          background: @failed;
        }

        &-running {
          background: @running;
        }

        &-pending {
          background: @pending;
        }

        &-stop {
          background: @stop;
        }

        &-not_audit {
          background: @not_audit;
        }
      }

      &-line {
        width: 0.06rem;
        height: 1px;
        border-top: 1px solid #d3d3d3;
        display: inline-block;
        vertical-align: middle;
        margin: 0.02rem;

        &-manual {
          border-top: 1px dotted @not_audit;
        }

        &:first-child {
          display: none;
        }
      }
    }
    &-info {
      width: 208px;
      height: 64px;
      margin-top: 10px;
      margin-left: 10px;
      background: #ffffff;
      box-shadow: 0px 2px 4px 0px rgba(15, 19, 88, 0.12);
      border-radius: 4px;
      border: 1px solid rgba(83, 101, 234, 0.24);
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: flex-start;
      padding-left: 10px;
      &-item {
        font-size: 13px;
        font-family: PingFangSC-Regular, PingFang SC;
        font-weight: 400;
        color: rgba(15, 19, 88, 0.65);
      }
    }
  }
}
